| GUI Help > Menus > createMenu | ||||||||||||||
|
createMenu |
||||||||||||||
| handle menu=createMenu(handle parentGadget) | ||||||||||||||
|
Description: Creates a main menu, ie. the one which appears at the top of a window with items such as "File","Edit","Tools" and "Help". To use menus, firstly create a main menu using createMenu, add items to it using addMenuItem, and then for each item add a submenu using createSubMenu. |
||||||||||||||
|
Return Value: Handle to the new menu. |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |